

.PxToRem(@name, @px){
    @{name}: @px / 75 * 1rem;
}

.Flex{
    display:flex;
}
.line-height(@arg){.px2rem(line-height, @arg);}
.font-size(@arg){.px2rem(font-size, @arg);}

.font(@fz,@color){
    .px2rem(font-size,@fz);
    color: @color;
}
.border-bottom(@px,@xian,@color){
    .px2rem(border-bottom-width,@px);
    border-bottom-style: @xian;
    border-bottom-color: @color;
}
.border-top(@px,@xian,@color){
    .px2rem(border-top-width,@px);
    border-top-style: @xian;
    border-top-color: @color;
}
.border(@px,@xian,@color){.px2rem(border-width,@px);border-style: @xian; border-color: @color;}

.padding-top(@top){.px2rem(padding-top, @top);}
.padding-right(@right){.px2rem(padding-right, @right);}
.padding-bottom(@bottom){.px2rem(padding-bottom, @bottom);}
.padding-left(@left){.px2rem(padding-left, @left);}

.padding(@top,@right,@bottom,@left){
   .px2rem(padding-top,@top);
   .px2rem(padding-right,@right);
   .px2rem(padding-bottom,@bottom);
   .px2rem(padding-left,@left);
}

.margin-top(@top){.px2rem(margin-top, @top);}
.margin-right(@right){.px2rem(margin-right, @right);}
.margin-bottom(@bottom){.px2rem(margin-bottom, @bottom);}
.margin-left(@left){.px2rem(margin-left, @left);}

.margin(@top,@right,@bottom,@left){
   .px2rem(margin-top,@top);
   .px2rem(margin-right,@right);
   .px2rem(margin-bottom,@bottom);
   .px2rem(margin-left,@left);
}

.index_header{
  position: fixed;
  width:96%;
  top: 0;
  .Flex;
  .PxToRem(height,279);
  padding:2% 2%;
  justify-content:space-between;
  background: url("../imgs/index_banner.png");
  p{
    color:#ffffff;
    .PxToRem(font-size,35);
  
    .index_log_to_Login{
        .PxToRem(width,83);
        .PxToRem(height,83);
    }
  }
}
main{
  .PxToRem(padding-top,490);
}
nav{
  .nav_tou{
    width:100%;
    background:#ecf0f3;
    position: fixed;
    .PxToRem(top,310);
     padding:2% 2%;
    input{
      border: none;
      background:#ecf0f3;
      margin-left:33%;
    }
  }
 
  .index_di{
    width:96%;
    position: fixed;
    .PxToRem(top,380);
    color:#959595;
    background:#ffffff;
    padding:2%;
    .PxToRem(font-size,28);
    .index_di_left{
      float: left;
    }
    .index_di_right{
      float: right;
    }
  }
}
.index_infos{

  width:96%;
  padding: 2% 2%;
  .Flex;
  align-items:center;
  border-bottom:1px solid #cccccc;
  .index_infos_num{
    text-align: center;
    .PxToRem(width,78);
    .PxToRem(height,55);
  }
  dl{
     .PxToRem(margin-left,10);
      width:85%;
    .Flex;
    justify-content:space-around;
    dt{
      width:25%;
        img{
            .PxToRem(width,153);
            .PxToRem(height,103);
        }
      }
      .index_dd_left{        
          width:32%;       
          .PxToRem(font-size,30);
           .index_ji{
            .PxToRem(margin-top,30);
            color:#949494;
          }              
      }
      .index_dd_right{
           p{
            .PxToRem(font-size,30);
            color:#949494;
            span{
              color:#e3c026;
            }
          }
          .index_rig_qie{
            padding-left:80%;
            .PxToRem(margin-top,15);
            color:#949494;
          }
      }
  }
  
}
















  
